engine hestistates& chokes & doesnt pass 3200rpm

i bought a 91 integra gs in november. drove it fine then outta no where it started messing up.it was choking bad a couple time it didnt want to start so i changed the fuel filter. Then it started this weird thing it didnt pass 3200 rpm. I wood drive 1 gear 3200rpm it wood rev there and woodnt pass it it sounded like it had 2step for the people who no wat that is. then i happened to change my O2 sensor cuz the one the one that was on it was cut after that it ran beautiful so i took it on the highway drovce fine though all gear all the way up to 6000rpms then it did it while i was going like 90mph the whole car started shaking i got mad scared cuz it keep jerking and shit it was like if i down shifted but i didnt then it started doing the same thing 3200rpm i wood have to shift.so that the story of it. it had 252xxx miles on it so cuz i didnt no wat was going on i did a complete rebuild or some people call it refurbished. ALL NEW gaskets main seals front & rear pistons rings& connecting rod bearings ,main bearings i have a brand new distributor on its way i made sure all my injectors work i have made sure that i have no electrical problem the only code that my obd0 pcm reads is 4 and 13 code 4 is crankshaft position sanesor which is built into my distributor and code 13 which is barometer something like that and thats built into the pcm. So still my car is STILL redlining at 3200rpm. i just need some ideas or another overview of wat it i am overlooking plz help