Hi, Leandro!
I see that you have the Atlas switch and motors - perhaps this topic will help if you are using the Atlas controllers
https://ogrforum.ogaugerr.com/...ch-to-atlas-o-switch
Stan2004 and Gunrunnerjohn will be able to help with the circuit to power the leds.
I do not believe the 555 is the solution.