Crews got the derailed MBTA passenger train back on the tracks late Tuesday morning. Meanwhile, crews were repairing broken track where the train first encountered broken rails off Burnham Road in Andover.