If the motor is truly 5HP then it will already be 240V, but I'm not sure when compressor makers started inflating the numbers. The contactor device is the pressure switch which cycles the motor on when the pressure drops and off when it reaches a preset limit.