Looking at that diagram, I would say to disconnect the Red wire from the switch (or near the compressor, whichever is easiest) and then , with the switch in the ON position and known voltage at the Red/Yellow wire, check for voltage at the spade terminal of the switch (or the Red wire itself near the compressor where you disconnected it) If you don't have voltage at either of those places then I would say the switch is no good.