I have had success by soaking each end in 99% isopropyl alcohol for a few hours to let it break down the adhesive. That way you won’t break tabs on the switch side.
Also, to remove the resin - you can melt it off with the soldering iron instead of using a metal implement to scrape it off.