Hi,
Try disconnecting the switch and insulating the connectors. If it cures the problem you can say it was that, and replace the switch. If you still get intermittent lights you must be getting voltage to the flasher unit from elsewhere.
Cheers now
Ken Chapman
May 2007