Sounds like a fault in the switch do they go out with it unlugged? if so take the swictc out, plug it in then give it then try applying the swich by hand or moving it to see if the lights go out, its either a new switch or it just needs cleaning up and freeing off, but my first port of call would be to remove the switch and see what happens then.