What Punkkitty said. It should have 4, the black one seems like 2 insulated together, so someone must have shortened the green tap.
To answer the op, if you don't need the tap then yes. Red to switch, black to ground on the back of a pot or the switch itself, wherever is convenient.