This part is a kind of semiconductor called 3N251.
Function of this product has Diode Rectifier Bridge Single 800V 1.5A 4-Pin Case KBPM.
Manufacturers : New Jersey Semiconductor
Image and pinout :

Some of the text within the PDF file :
[ ... ]
3N251 PDF Datasheet Download
