This part is a kind of semiconductor called MGD622.
Function of this product has IGBT.
Manufacturers : Sanken electric
Image and pinout :

Some of the text within the PDF file :
600 V, 20 A, IGBT with Fast Recovery Diode MGD622 Features Low Saturation Voltage High Speed Switching With Integrated Low VF Fast Recovery Diode RoHS Compliant VCE -- 600 V IC---20 A (TC = 100 °C) VCE(sat)---2.1 V typ. tf --- 120 ns typ. VF1.2 V typ. Package TO3P-3L Applications Microwave oven IH cooker Inverter circuit (1) (2) (3) GCE Equivalent circuit C (2)(4) G (1) E (3) (4) C Not to scale Absolute Maximum Ratings Unless otherwise specified, TA = 25 °C Parameter Symbol Collector to Emitte [ ... ]
MGD622 PDF Datasheet Download
