This part is a kind of semiconductor called PD202.
Function of this product has Super Intensity Visible Led / Photo Detector.
Manufacturers : Stanley Electric
Image and pinout :

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