Employee was operating a diesel locomotive and had gotten off the motor to throw the track switch. When he did so he felt a pain in his right shoulder and upper chest. Employee continued to work and finished his shift. After his shift the pain increased and he sought medical attention.