I assume you took the TPS off the old throttle body and applied it to the new one. That being said, I would inspect my work. I would disconnect the TPS to make sure the prongs inside the TPS are straight and not bent or broken, and make sure the harness is plugged in all the way unto the TPS, and the pigtail is not damaged. The TPS is responsible to send info to the ECM of where the throttle plate is at during acceleration and idle.
It can cause bucking and jerking/hesitation while accelerating, idle surging, sudden stalling of the engine, sudden surge in speed while driving on the highway, and also but not all the time a CEL.
So since this is the one component that would have been messed with in your part changing endeavor, I would go over my work at the TPS and make sure it is all good to go. I am not saying it is bad, it may be, but that is where I would start, and I would re-inspect my work there.
2015 Race Red Performance Package GT 5.0 (435hp) stock
Still in the making Updates coming soon!