IE was traveling up the track with a locomotive pulling a trash car. As the IE crossed a track switch the curved rail broke and came up into the trash car. The sudden stop caused the IE to bump left hand and knee inside the operators compartment. The IE was brought out and went to the doctor to be checked out.