I'd check timing, check plugs, replace rotor and cap and wires. If still does that, it is probably a fuel problem, pump may not be at right psi--there should be some kind of guage to check fuel pump.
If that is fine, may be in the TBI. Is your "service engine soon" on?