Identify unknown transistor (possibly faulty LM35 temperature sensor)
Are you sure this is not the LM35 temperature sensor? A TO-92 doesn't automatically mean transistor. Here is a datasheet. 

Hook up 5V to Vs pin and GND to GND. Measure voltage on Vout pin and see if it changes when you breathe on the sensor.