Boyo,there are various timers you can buy at electrical supply houses and rig up something similar to what Racecarl says.Or you could use a motor starter and a switch like Tony M says.Maybe take a proper sized starter with a 120 volt pull in coil, wire it to the feed on the compressor.Use the 120 volt switch leg that controls your garage lights to energize the starter coil.So you turn off the overhead lights and the compressor is disconnected.One switch does it all.