Turn off the power at the electrical distribution panel for the circuit you are working on. Confirm the power is off by touching a noncontact voltage detector to the wire's insulation.
Remove the twist-on wire connectors joining the 120-volt supply to the ballast. Pull the wires apart and reinstall the twist-on wire connectors on the 120-volt supply wire's bare ends to protect them. Keep this circuit turned off at the panel.
Strip 3/8 inches of insulation off the 240-volt supply wire's four conductors. Loosen the grounding screw in the electrical box. Wrap the green or bare wire around this screw and tighten it down.
Twist together the 240 volt's black wire with the black wire from the ballast with pliers. Install a twist-on wire connector on top.
Twist together the 240 volt's white wire with the white wire from the ballast with pliers. Install a twist-on wire connector on top.
Twist together the 240 volt's red wire with the red or yellow wire from the ballast with pliers. Install a twist-on wire connector on top.