Interesting hand. The kind I suppose costs people lots of money either way.
I agree that shoving is bad. I mean your fd is dominated a lot there leaving you drawing to your 2 sf outs. When he raises the flop like that you have to be giving him a big draw or a big made hand. His raise there stinks of AK with at least the ace of spades and as mentioned I can't see anything he's raising with being able to fold to a shove.
I think this is a very difficult draw to play due to what I said above. You see your 4 cards to a sf and think bingo but most of the time you just end up paying off someone else's hand. I hate this kind of spot really and hate just calling here as there's so many cards that come which will make you sweat a turn bet.
T9 in general is a hand that can get you into more bother than anything else when you find you're hitting idiot straights and being dominated by better draws.
Good idea though to hit that river