A 22-year-old man is dead after he was hit by a Kansas City locomotive while walking along the railroad tracks west of Higginsville.