I think i have never seen a door switch broken unless someone physically damages them.
Broken microwave door button.
In most of the cases where the microwave door is not opening the cause comes out to be an issue with the door latch button or lever.
Find out how to test and replace the latch assembly on your microwave.
Find someone who works on appliances remove the cabinet cover remove the door release latch pop out the button and remove the broke ear pop the button back in replace the.
What happens is that the lever unit usually has a paddle or a button which gets in contact with door latch assembly and releases the hooks which in result lets you open the microwave door.
The door latch lever assembly usually consists of a paddle or button that either pivots downward or pushes into the control panel.
You might have an issue with the door latch lever or button if your microwave will not open.
The things i have seen in a microwave not working are the high voltage diode shorted or opened and the 12v relay on the control board which drive the voltage on the magnetron.
If the button won t push in to open the microwave door one of the little ears that holds the button in place has broke off and is keeping the button fron being depress.
It then contacts the door latch assembly and releases the door hooks to allow you to open the door.
The handle actuator is connected between the door open button and the door latch assembly.
If the door on your microwave oven won t open you may have a problem with the door latch lever.