Turntable and light do not turn off

While the microwave cooks as usual, most of the times the the turntable and light do not turn off when done. The turntable turns off when the door is open while the light stays on. We have to leave the door open when done to stop the turntable. On rare occasion the turntable and light do turn off when done. However, after the door is opened, the turntable and light stay on when the door is closed again.

Thanks,
Jeff

I took off the panel, jiggled all of the connections, and sprayed computer dust cleaner. It has been working for a week now.