That should be more than enough to play TF2. I've played it decently on far worse. You should be fine, but just in case, I'll offer some settings that might help
Goto properties, and startup in steam, and try "-dxlevel 81 +fps_max 60 +mat_phong 0" Then in the in-game video options, turn off all shading, use single core rendering, make sure HDR and Motion blur are off, and finally, unplug your laptop while playing (this may or may not help with overheating. It works for me. )
I hope that any of this might help you. Good luck m8 XD