To be more precise - the ballast in a standard hood fixture won't drive the T5 bulb (plus the pins won't fit).
However, you can replace the light/ballast in the hood with a T5 retrofit kit. This may be cheaper than getting a completely new hood <or maybe not .... but do check out that option.>