It is known as a ground wire, and should be attached to the green screw on the new light switch. Remove wires from the old switch. There will be a black wire or a white wire. Depending on the age ...