*1D4LV
No knock sensor on locally released 4A-FE... Also no O2 sensor so always open loop operation ang ECU...
*bail
A basic tune up should fix your problem... Replace/clean spark plugs, oil change (if matagal nang hindi nag-oil change), throttle body cleaning, and ignition timing check/adjust (I think this is the problem of your engine) the proper way using timing light and disabling the electronic spark advance (shorting TE1 and E1 of the diagnostics connector). 10° BTDC stock ignition timing (with ESA disabled).
Kung di naka-short ang TE1 and E1, sure mali ang ignition timing na makikita sa timing light so most probably di maayos ang problem mo.