1993 camry hicks up, its as if the car chokes every few seconds.happens when the car is in gear but not moving

my 1993 camry hick ups while in gear. when the car is in idle its ok but when it warms up and it goes in to gear it starts to hick up. if I push the gas pedal its better. as soon as I get to a light and stop the car it turns off. I have changed fuel filter, sparks and wires and distributor cap. its as is the cars chokes every few seconds. what could be the problem.

thank you for your answers