I replaced an on/off switch with a timer switch. When the lights go on they blink on and off. Switch has 4 connections. Black wire, white wire, red wire, bare copper ground. There were two wires connected to the old switch and a ground. I removed the old wires and reconnected them as follows: White to bundled white at the back of the box, hot black from the box to black on the switch, neutral black from the box to red, ground from the box to ground on the switch.