If a 5 volt amplitude is desirable, you could use a clock circuit and some logic or clock circuit with 4017s where you choose the output pins that would give you the correct timing. For a more accurate source, you could use a microcontroller. Turn the port pin on, start a 500 millisecond count, turn it off, start a 1 second count, turn it on, start a 500 millisecond count, turn it off, start a 4 second count, and loop (repeat). Such a circuit would only require a cheap micro, a clean 5 volt source, and a resonator.
MP