Switch Replacement on Pete Back Explorer

I had this guitar in about a year ago for a refret and it’s back again today to try to solve an intermittent problem where it loses its powerful sound and goes “weedy”. First suspect was the switch and the owner wanted it replacing regardless. I also gave the wiring a once over, cleaned the pots and checked for any short circuits. Hopefully I’ve got it.