A few risks come to mind with your condition and a trip of this nature.
First, if the train climbs to high altitudes, you might be more prone to experience problems due to diminished cardiac function. Second, the risk of communicable disease is higher with numbers of people in closed quarters. Third, the train might wreck. Overall, i'd say the benefits probably outweigh the risk.