This part is a kind of semiconductor called 2W10G.
Function of this product has GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER.
Manufacturers : General Semiconductor
Image and pinout :

Some of the text within the PDF file :
2W005G THRU 2W10G GLASS PASSIVATED SINGLE-PHASE BRIDGE RECTIFIER Reverse Voltage - 50 to 1000 Volts Case Style WOG 0.388 (9.86) 0.348 (8.84) 0.220 (5.6) 0.160 (4.1) Forward Current - 2.0 Amperes FEATURES 1.0 (25.4) MIN. 0.032 (0.81) 0.028 (0.71) 0.060 (1.52) 0.020 (0.51) ♦ Plastic package has Underwriters Laboratory Flammability Recognition 94V-0 ♦ This series is UL listed under the Recognized Component Index, file number E54214 ♦ Glass passivated chip junctions ♦ High case dielectric strength ♦ Typical IR less than 0.5µA ♦ High surge current capability ♦ Ideal for printed circuit boards ♦ High temperature soldering guaranteed: 260°C for 10 seconds, 0.375" (9.5mm) lead length, 5lbs. (2.3kg) tension 0.220 (5.6) 0.348 (8.84) 0.308 (7.82) 0.180 (4.6) MECHANICAL DATA 0 [ ... ]
2W10G PDF Datasheet Download
