The man held on for almost 20 miles as the train sped at 175mph