Lt. Gary Trupe says the victim was hit Monday by a grinder machine and was pulled beneath the car.
The name of the victim, who worked for Burlington Northern Santa Fe Railway, was not immediately released. An autopsy has been ordered.
A spokesman for Fort Worth-based BNSF, Joe Faust, says rail grinders are used to help maintain the tracks.