This part is a kind of semiconductor called 2N2771.
Function of this product has Trans GP BJT NPN 250V 30A 3-Pin TO-63.
Manufacturers : New Jersey Semiconductor
Image and pinout :

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