It could be interference. It could be the switch contacts opening from vibration. It could be a broken/loose wire.
I would start with measuring the resistance of your switch chain. Dirty or burnt contacts will show the resistance of several ohms or even more.