Which transistor?

So you are switching less than 40mA?

Pretty much any small-signal NPN transistor will do that job (or a logic-level n-channel MOSFET). For NPN you must use common-emitter configuration, not the emitter-follower you initially describe (which has no voltage gain!)