I believe it might be a faulty High Pressure switch. Check the switch after the compressor has stopped. If it is open, The switch has tripped. The switch range should be marked on it. It would then be necessary to check the High side Pressure to determine if it is going off on high pressure or if the switch is faulty. When checking the high pressure it should be within the range of the High pressure switch.
Just My nickel..... (inflation you know.....)