Throttle response

Anyone have any ideas what would cause my Razor to accelerate to full throttle when I lightly push the accelerator? When I am in park or Neutral it revs fine, when put into gear and I push the gas pedal it goes straight to full throttle, I know it’s all computerized now and since it only happens when I place in gear I am guessing it might have something to do with the throttle sensor ? 2104 xp 1000