This post explains for the semiconductor STR-G5643D.
The Part Number is STRG5643D. The Package is TO-220, 5 Pin.
The function of this semiconductor is SMPS-IC Off line switching regulator.
Manufacturer: Sanken, Allegro
Preview images :
Pinout
1. D ( Drain Terminal )
2. S ( Sourece Terminal )
3. GND ( Ground )
4. Vcc ( Power Supply Terminal )
5. FB/O.C.P ( Over Current / Feedback Terminal )
Block Diagram
Appliction Circuts