This part is a kind of semiconductor called BTA12-800B.
Function of this product has Thyristor TRIAC 800V 126A 3-Pin(3+Tab) TO-220AB Insulated.
Manufacturers : New Jersey Semiconductor
Image and pinout :

Some of the text within the PDF file :
[ ... ]
BTA12-800B PDF Datasheet Download
