Traffic Light Controller

Your schematic shows all the relay coils connected together but not connected to Ground.

The switch is wired wrong. You connect the pull-down resistor from Ground to the input pin. Not from Ground to a third terminal on the switch.