Reset the logic board (press CUDA button on logic board)
+
UPDATE
+
If you've already done the above, I would replace the fan and replace the thermal paste then see how it's running. The sleep is probably being cause by overheating.
Here's what Apple recommends:
Reseat the video card
Verify that the speaker cable is fully seated
Reset the logic board (press CUDA button on logic board)