1991 honda accord

This car is still making me scratch my head…for months upon take off it would jerk and sputter…I tried everything that I could think of until finally I just decided to put another motor in …still the same thing…what else could it be?

Fuel pump?
Computer problem?

New fuel pump… Where should I start with the computer?