This part is a kind of semiconductor called 2SD965.
Function of this product has TRANSISTOR (NPN).
Manufacturers : Wing Shing Computer Components
Image and pinout :

Some of the text within the PDF file :
2SD965 TRANSISTOR (NPN) " $ !"# $ ))* *+ # ))*,& -). / 0( / %&'(# ' ! [ ... ]
2SD965 PDF Datasheet Download
