Pedestrian dies after being hit by train Tuesday