1. Check the spark plug wires: Make sure the wires are properly connected and not damaged.
2. Check the fuel filter: A clogged fuel filter can cause hesitation and engine light to come on.
3. Check the Idle Air Control (IAC) valve: clean it or replace if needed.
4. Check the Throttle Position Sensor (TPS): Make sure it's properly adjusted.
5. Check the fuel pressure: Low fuel pressure can cause engine hesitation.
6. Check the vacuum lines: Cracked or disconnected vacuum lines can cause air leaks, which can lead to engine hesitation and the check engine light coming on.
7. Check the transmission fluid level and condition: if low or dirty it may cause your hesitation and check engine light to come on.