Bad idle and Bogging

2012 850 with (523) km
I got a code reading 520194
Found how to fix that I just took the slack out of the throttle cable.

the idle jumps up and down example 1200 down to 1020 then back up.
The throttle can not have any quick movement or it will bog or even die on you.
While your driving or in nutruel

The spark plug has been changed oils been changed emptied gas tank and put fresh gas in also air filter cleaned.

Any suggestions would be great!

Thanks