Looks like AC high pressure switch shutting down AC. And when you cooling down the condenser the pressure goes down as well and compressor starts. It is possible, the condenser is dirty and need to be cleaned up.