STOP! avoid WD40, leaves petroleum distallates residue, not for delicate electronic contacts!
1. clean switches with 99% isopropyl alcohol
2. very slight lube of shaft, bushings, perhaps one drop mineral oil
3. Quality contact cleaner with long application tube, on switch contacts, we use Miller Stephenson, or tuner cleaner.
4. throughly exercise every switch many times just after the contact cleaner.
Afterwards allow to dry, use cotton to remove excess cleaner, test out.
We have revived decade's old Genrad resistance and capacité decades and ratio boxes this way.
Bon chance
Jon