I've seen this twice, and found the solution in another forum, years ago.
The first time, my boss replaced everything electronic except the magnetron! We finally put in a new control panel, and the problem went away.
The second time, after I had read about the issue, I replaced the magnetron, and problem solved.