Well, the above the doesn’t take the humans (or any other intelligent and technologically capable species) into account, and their efforts to counteract with the warming.
The Earth is already having issues with climate change, (though this one is due to GHGs) and one simple way to counteract with that and cool the Earth is to deploy some orbital sunshades around Earth. We already have the underlying technology to do that, though not the money and the launch technology in the scale that would be needed, but it should be relatively easily doable in a couple of hundred years from now. And those sun-shades may also act as giant solar generators beaming down energy, although the exact technology behind that is still in development. However, some proof-of-concept units could be deployed in less than a 100 years.
A much more involved and time consuming solution would be to move the Earth farther away from the Sun – that would take place over many millions of years, and we do not have the capability to do that right now,, but we should have it in a few hundred years or so. [once we have either fusion or solar powered space ships built mostly in the asteroid belt] . Moving the Earth farther away is also needed to ensure that the Earth is not engulfed when the Sun becomes a red giant in about 5 billion years.
*IF*, and that’s a really *BIG* IF, humans last for another million years or so, they will be more than likely deploy both methods by then.