My microwave had the same problem, failing door switch. At first I didn't know what it was - it would trip the circuit breaker whenever trying to actually start heating, and I assumed that meant something was shorted inside, maybe a couple capacitors went bad ... (very) long story short, it was the door switch interlock, arc-welded closed. (I actually had to have 2 replacements fail the same way, before I figured out exactly what was wrong with them, and thus how it happened ...)
So on mine, it's the middle switch, NC (normally closed), the other two switches (top and bottom) are NO (normally open) and those have been fine. I've been able to find acceptable replacements on Amazon, "KW3A" switches rated for 125 VAC 10A (I'm in the US).
The problem is caused by yanking open the door while the microwave is running. I assumed this was OK to do, and I've done this for decades with different microwaves. But my previous microwaves had a big button you would depress like half an inch, that would turn off the power _before_ kicking open the door, which would disengage the NC interlock switch, which I guess shunts the power to ground when the door opens. But the one that came in my latest apartment just has a handle on the door, and when you pull it open, all switches deactivate very close together, both the ones that tell the mcu to turn off the power, and safety interlock that shunts to ground. So perhaps after some years the door hinge has sagged a bit, the door hook guide in the frame has worn a bit, and the timing is a bit off, so when you yank the door the interlock closes a millisecond too soon, you get an arc of power though it, your breaker trips, and that switch welds itself closed. So after resetting the breaker, and trying to use the microwave again, it trips again just trying to start, before you've done anything "wrong".
I hope my personal microwave saga (omitted for brevity) has finally helped someone