Its simple and cheap to di it yourself.
1. Purchase a 2 pole lighting contactor that has a 120 volt coil (about $40.00 at supply house).
2. Run the 240 volt circuit from the breaker panel to one side of the contactors, and run the load or compressor wires to the other side.
3. Run a hot and neutral from the switched side of the shop lighting to the coil.
4. Place all this in a sealable box...your done
When you flip on the switch for the light, the contactor closes and compressor runs. It takes NO power from the lighting system except the 0.01 amps needed to close and hold the coil.
I do this all the time to control everything from 200 amp landscape lighting systems to commercial shops.
Mind you, in my shop i simply installed a large green neon indicator light next to the exit door, when i go out,if the green light is on i know the compressor is still on. This is the $5.00 method i chose.\
Heres a sample of one i did to control two separate 20 amp, 240 volt supply wires that ran 8 - 240 volt HID lights on an arena. All you have to do is flip a 110 volt coil switch and you control 2 separately derived 240 volt systems. Real easy and real cheap to do.

