I understand your desire to keep an appliance working. We have a GE microwave a friend gave me for working on his motorcycle back in 2016. Ran great for a few years, then it kept tripping the breaker and would not work. I replaced the three micro-switches on the door and it was running again, but soon was tripping the breaker again.
Replaced the micro-switches again, but, this time I found out that all the power to the micro-wave goes through those door switches, and when you open the door while its running all the amperage arcs across those micro-switches, causing them to fail but also casuing the breaker trip issue. We changed our habits to turn off the micro-wave before opening the door, or just let the cooking cycle finish before opening the door. That was three years ago and no more micro-wave operation issues.
My top load Maytag washer is at least 24 years old. About 12 years ago (just after my future wife moved in) it quit running, she said why not just get new appliances? Nope, doing the work myslef I replaced the tub bearing, replaced the main rotary control switch, replaced the drive belt, still runs great, simple to fix, no electronics. Same for my front load 24 year old Maytag dryer, replaced the drive belt, replaced the heater coil, runs great, easy to work on. Same for my who knows how old Kitchenaide dishwasher, simple maintenance, filter cleaning, etc. I changed the color of the door and control panel to match my new GE fridge and dual over (Toyoto Duplicolor rattle can matched it well, clear coated for durability). I replaced the white touch panel with a black touch panel I bought on ebay. I did have to replace the main inline fuse in the wiring, but it works great and keeps on running, easy to maintain and repair.