Place it at the start of a crossing sequence, before the train enters the frame, then follow it with a passing train rumble or a horn once the gates are down. In a joke edit, put a fail sting after the train has passed and the road reopens.