Find a cheap switch and see if you have the same problem. If the problem doesn't occur any more get a more expensive and reliable switch
I really think its the switch and has nothing to do with your power
You can safely assume it has something to do with the circuitry in your home if the problem still occurs with the cheapo switch