The most common cause of an a/c compressor to not get electricity is low freon pressure causing the pressure switch to cut off power. An easy check is to overide the pressure switch with a jumper like a paper clip. An a/c shop should hvae caught that or at least have given you a reason for the problem. I'd take it somewhere else.