Too much pressure in the system, probably at the expansion valve. causing too much pressure and therefor causing the engine to vibrate or strugle to keep running. So the pressure switch turns the power to the a/c coil off.
have your ac checked out. Could be costly.
good luck