That to me, looks like the signs of a dying graphics card. But then TF is known for some odd bugs. And windows 10 is known for downloading old drivers. Lol
All I can suggest is trying to redownload the latest drivers from nVidia. Failing that, if you use steam, do a integrity check on that game.
If it is your graphics card trying to take early retirement, you should try some other games, high end demanding ones. If they’re all fine, then your gfx card is probably OK. If not, you may need to return it/but a new one.
Graphics cards can be highly unpredictable with their life spans.
What’s the maximum temperature your graphics card runs at while playing TF?