Yes,but I need to know more about the layout. There are a lot of circuits which could be used. It would be easier to open and close the bridge randomly and have the train stop if it approaches. If it is already on the bridge,it could be locked out from opening until the train clears. I would have to refresh my memory about the bridge,if it is PW or the repo version. Second you may have to cut into the harness and figure out the controller wires. Then I would have to draw a circuit. I did one of these a long time ago,but dont remember the specifics.It is a little involved.