This part is a kind of semiconductor called 2N540A.
Function of this product has Trans GP BJT PNP 120V 0.6A 3-Pin TO-92 Box.
Manufacturers : New Jersey Semiconductor
Image and pinout :

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