Hello, I would risk telling you that to achieve that type of blinking you will have to achieve it with a PIC or microcontroller or arduino if it is more familiar to you.
I hope I can guide you in the solution.
Look at this link
http://aerobotclubderobticadeaeronuticos.blogspot.com.ar/2011/06/luces-para-vagon-de-cola-h0.html
It's from modelers where they use a ATMEL micro. More than the circuit you must get to program your logic that micro and accessories you get where you live. Regards!