Depending on what kind of switch it is, sometimes some light sanding with fine sandpaper will clean up corrosion on the copper contacts. I have that problem with a different kind of switch in one of my vehicles.
_________________________
~ John