Looking for identification of an electrical component
Since it's part of a rail gun, it's very likely to be a Thyristor (Silicon Controlled Rectifier), though since there isn't an obvious gate connection, it could be a diode as well.  I'm guessing the package is TO-48 or TO-65, but it's tough to be sure.