Wiring A Light Switch From An Outlet. At the switch the neutral wire is capped unless needed to power a smart switch such as a new. Now remove the wire cap from the two white wires in the box add the white wire from the outlet and reset the cap.
Remove the black line wire from the switch twist it together with the black wire going to the receptacle and add a six inch length of black wire of the same gauge. At the switch the neutral wire is capped unless needed to power a smart switch such as a new. Wiring a new switch and light from an outlet.
Here is what you would have to do if possible change out the 2 wire to 3 wire cable from switch to light.
Wiring a switch for a light that also powers an outlet. To connect the switches simply score the wire with your wire stripper and push the insulation to expose about 3 4 in. Instead of running a separate pigtail from the hot wire to each switch just leave the hot wire extra long. Now remove the wire cap from the two white wires in the box add the white wire from the outlet and reset the cap.