Officer Peter Stanglewicz, of Illinois, managed to swerve just in time to avoid a speeding commuter train when the crossing gates lowered after the train came through.