Unplug the refrigerator and remove the start relay and shake it. If it rattles it is bad and if not you can be reasonably sure it is not bad. If the start relay isn’t bad, remove the motherboard and look on the backside of the board. When the board fails in this way it is very common to see a burn or bad solder joint behind the compressor relay.
How to make smoke odor eliminator candles