The light switch has a bi-metallic thermal circuit breaker in it. Dirty points or another type of problem with the circuit breaker would cause the symptoms you describe. Look closely at the top of the switch opposite the knob and you will see it. Joker is probably right.
Kent