This part is a kind of semiconductor called 2N2147.
Function of this product has Trans GP BJT NPN 100V 2A 4-Pin TO-111.
Manufacturers : New Jersey Semiconductor
Image and pinout :

Some of the text within the PDF file :
[ ... ]
2N2147 PDF Datasheet Download
