This part is a kind of semiconductor called MOC3021.
Function of this product has (MOC3020 - MOC3023) non-zero-crossing triacs.
Manufacturers : QT Optoelectronics
Image and pinout :

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