Problem- air condition- compressor and fan outside not on
I am not a HVAC tech but I do believe that is a high pressure switch that is tripping and there could be a couple of things going on with your unit. It is tripping to protect the compressor and fan from faulting. I would suggest calling a HVAC company to come take a look.