My kia has problems with surging and miss firing on 2004 Kia Sedona

It had code p0122 and code p0301.I changed the throttle positioning sensor but i still got the same codes.What other problems could cause this iam stumped

Asked by for the 2004 Kia Sedona
1 answer
code po122 is throttle position sensor circuit not necc the sensor and po301 is misfire cyl #1. the coil pak may be bad on 31 cyl the best way to test is move it to another cyl and see if miss follows coil pak as to the po122 code seek help with circuit