I don't know if it will work for you, but if you're using Windows 7 then right-click on the hl2.exe in your tf2 folder and go to properties. Then go to the Compatibility tab and check the box next to "Disable desktop composition." I used to get crashes all the time after the last big update and after changing that setting I haven't crashed once.