Can someone tell is this transistor or capacitor or what?
Probably a (non-resettable) fuse. Unfortunately the letter code indicating the current rating is not standardized and even changes with fuse size within a single manufacturer's product offerings. 

See, for example, this datasheet.