If 1700 is the limit, then have Karl XII go straight for Moscow in 1703 after the Battle of Narva in the Great Northern War, instead of going into Poland. He can probably take and hold Moscow, forcing the Russians to make peace. Then he can deal with the Poles. This POD assumes a change in Karl's personality, though. He saw everything as personal. Since the King of Poland started the war, he was itching to teach him a lesson. Russia was a side-show to him. If you can get him to change his priorities, then this POD is very viable.
Sweden probably gains Courland from Poland, and a pro-Swedish king on the Polish throne. Maybe, Tsar Peter the Great is killed/deposed, greatly hindering the modernization of Russia. I'd be interested in how the War of the Spanish Succession turns out, and if Karl decides to get involved in that.
Past this, if Sweden plays its cards right, it can remain a major player in Europe, possibly taking Norway in another war with Denmark.
Russia will always be a threat to this Sweden, though. If you can somehow neutralize Russia, then your task is done.