This part is a kind of semiconductor called 3N187.
Function of this product has SILICON DUAL INSULATED-GATE FIELD-EFFECT TRANSISTOR.
Manufacturers : Vaishali Semiconductor
Image and pinout :

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