Hi Sir or Madam, welcome. I'm acramstr. And I will be assisting you today. You most likely have a bad a/c compressor relay. These can be intermittent ,The relay PN:
39794-SDA-A05 is cheap I would just replace it and see what happens ( it will fail eventually anyway). Other things that happen are the door lock switches can stick or the driver seat slide switch can stick. However the a/c relay is far and away the most common cause when this happens in an 07 other than the HFL unit.
Where do I buy the replacement relay switch, Autozone? About how much does it cost?
I picked up the part today and will wait and see if it is fixed. Thanks for your help. I am happy to rate your service and will send a bonus if it fixes the problem!