1997 honda civic ex

why does the engine cut off when i move the throttle up and down-yet if i hold the throttle position-it will rev and keep running. i already replaced the TPS which helped a bunch to get this car to start and idle-it will rev high and all that-but move the throttle around and she quits-and then hard to start up again. no codes on my obd reader. i did the MAP sensor test-the circuit and the sensor both function normally [ie; 5 volts supplied-neg wire good-and volts fluctuate to lower and higher when vaccum applied]