Under advanced settings for controls should be a fast switching option. Its off by default.
I looked but couldn't find it. I know there was at least a console command for it in HL2 (possible a menu option too), but I didn't feel like taking the time to find it. Though there were still issues in HL2. Ones that wouldn't be there in TF2 just because of only having a few weapons.
In HL2, I turned quick weapon switching on, and rebound the mouse wheel to forward = next weapon, and backward = previous weapon. The problem is, the weapons are grouped into categories. So scrolling forward would take your through the categories correctly, but when you switched into a new category, you'd hit the more powerful weapons first. So you'd go from the pistol category to the assault rifle category, and start on the big ass assault rifle thing, then move to the regular one, which seemed backwards. You'd land on the crossbow (effectively a sniper rifle) before the shotgun, because it was considered a higher powered weapon in the shotgun's category.
bleh, yea the weapon organization in Valve's games seems so messed up.