I think it is always to do with the switch wiper not making good contact with the rails.
Usually you need to disassemble everything completely, including removing the contacts so you can clean the little springs that sit behind them. Dissolve all the old gummed up grease, replace with dielectric grease, reassemble.