If the compressor is hardwired, and at 5 hp it should be, it is required to have a disconnect within 50 ft of, and within line of sight of, the compressor. Do not plan on using a plug and receptacle. Even a 50 amp plug and receptacle is only rated for 3 hp. To go any higher, you would have to use very pricey pin and sleeve connectors.
If the compressor has a magnetic starter, and I would hope a 5 hp two stage does, the easiest way to prevent it from running is to take one of the wires going to the pressure switch, and run it, using 14 gauge Romex or something similar, to a regular light switch near the door, thru the light switch and back to the pressure switch. You do not need to interrupt both wires at the pressure switch, just one of them.
This leaves power on the magnetic starter, but prevents the pressure switch from powering the magnetic starter coil and operating the compressor.
If you do not have a magnetic starter, you possibly do not have a true 5 hp compressor, but will need to interrupt the main power going to the compressor and switch the full amperage of it, on and off. You will need a switch rated for the amps and the horsepower you are dealing with.
Charles