I would be willing to bet that your A/C system is out of freon. When the freon pressure drops, the compressor will not turn on. I had the same problem after a new compressor was installed. Worked for a week or so and then died. It was a small leak at a fitting, had it repaired and refilled---works just fine.