First try to clean the switch.
On my car it helped to spray with a thin tube/hose (without removing and disassembling the switch) electronic cleaning and contact spray and then I switched the switch about 50 times thru all positions (ignition key removed) to clean all contatct surfaces inside. That worked. No problem since > 1 year.