When a pedestrian crosses paths with a train or walks on railroad tracks, the result can be catastrophic or fatal for the walker. The primary risks of walking on tracks are getting hit by a train or electrocuted. Train accidents are a leading cause of pedestrian deaths in the United States.