Might be obvious, but have you checked for loose wires behind the switch?