why is my jeep missing but it only misses when its in gear on 1999 Jeep Wrangler

i changed the plugs and wires and the tps its a 4.0 im not getting any codes and if u get on it all at ones it starts miss and wont rev over 3500rpms

Asked by for the 1999 Jeep Wrangler