This part is a kind of semiconductor called 2SD786.
Function of this product has Trans GP BJT NPN 80V 0.3A 3-Pin Mini-Mold.
Manufacturers : New Jersey Semiconductor
Image and pinout :

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