Replaced magnetron thermostat mounted directly over the magnetron (item 7-1 on drawing, Samsung PN DE47-20007B, AP Number AP4580109). Also replaced one of the electrical connectors to the thermostat (which had overheated) which a standard generic connector I had separately.