TO-3P packages were, I was taught, intended to be a cost reduced plastic alternative, the body length and hole placing are too much of a coincidence surely?
Interesting info here about HP PSU's using TO-3 parts
https://www.hpl.hp.com/hpjournal/pdfs/IssuePDFs/1981-08.pdf
I thought TO-218 was the supposed equivalent?
I don't know where TO-3P comes from exactly, but it's metric, not imperial, and the hole size isn't nearly compatible either. I always figured it was more coincidental than intentional.
In any case, I would take a close look at the surrounding circuit and adapt it to a modern MOSFET if possible, and hack in a TO-220 or better, as best I can. Mechanical modification may be necessary.
That assumes there's little value in
restoring the equipment, versus repairing it. In that case, you'd be better off locating a spare original part, or equivalent, I think.
Tim