I am absolutely not in favor of throwing any useful stuff. See the clutter around my house and you'll agree :-)
But a microwave oven is a potentially very dangerous item. A conventional oven (from toaster on up to self-cleaning convection wall oven) has two main hazards:
Electricity - There are numerous safeguards in place including GFCI for plug-in appliances, circuit breakers to match wire size & appliance size, grounding requirements, etc. Despite all that, people sometimes still get hurt, but if the devices are not damaged and are installed correctly, electricity can be managed safely.
Heat - Anyone can get burned in an instant from a cooktop, toaster, conventional oven or microwave oven. Actually, microwave ovens are arguably safer (the oven itself does not normally heat up nearly as much as a conventional oven) yet also more dangerous (because the oven itself doesn't heat up much, the food inside can turn out to be unexpectedly hot after just a few minutes of cooking.
A microwave oven adds a third major category of damage. Yes, you guessed it, microwaves!
Microwaves, like radio waves, X-rays, etc. are not visible. As a result, they can do their damage without being apparent until the damage is already done. Like carbon monoxide and other "silent killers".
Microwaves can be managed extremely well by having a sealed oven with solid metal - or metal with openings no larger than a certain size (related to wavelength - the Physics people can explain). The result is that a typical microwave oven has multiple safeguards against the magnetron, which generates the microwaves, running while the door is open.
Your oven it has a serious failure (magnetron running even though oven is in the "off" mode). The good news is that the safeguards on the door are working as designed to turn off the magnetron when the door is opened. FYI, while consumer microwave ovens are designed to be extremely safe, there have been very noticeable failures of safety engineering, such as the Therac-25, where a combination of errors resulted in critical safety mechanisms not working as they were supposed to. So the concerns are very real.
The first question is: Can you use it without fixing it? The answer is an absolute NO. Unlike "turntable doesn't turn" or "light doesn't go on (or off)" or "some of the timer functions don't work quite right", this is a safety issue. You simply can't leave it as is - someone will inevitably plug it in to warm up something and forget it (since the normal timer won't function to turn it off automatically) and start a fire.
With any appliance problem, the next question is not CAN we fix it? The answer of course is "Yes, we can!". The question is DOES IT PAY to fix it? In the case of a countertop microwave oven, the answer is almost always NO. A full-size (~ 2 cubic feet) countertop microwave oven is typically in the $200 range. A small microwave oven (< 1 cubic foot) is often < $100. Parts are often relatively expensive (a full control board can cost as much as an entire oven - really!) and trouble-shooting down to the small level (e.g., relay instead of full control board) can be quite time consuming. But on top of that, while the chance of something going wrong is small, the risks are HUGE.
The exception, IMHO, is failure of parts that are designed to fail. Specifically, there are thermal fuses in many (perhaps all, I don't know the design requirements) ovens (especially microwave ovens, but actually some conventional ovens too) so that if there is a fire inside the oven, power will cut off quickly. I have replaced those in one microwave oven, but it was a built-in over-the-cooktop large oven - which tends to be much more expensive to replace than a countertop oven. In addition, the failure was clear - it followed a fire in the oven (long story...) and was not a fault of unknown origin such as you are dealing with here. Plus, the device acted as expected under the circumstances, and troubleshooting based on the wiring diagram all worked as designed. But in your case there is a failure - and a fail "on" rather than fail "off", which is NOT the way these things are supposed to work when they break.