If the check engine light is on use the computer diagnostics to find the problem. You can usually borrow, rent or buy an OBD2 code scanner from most auto parts retailers. After you've resolved the problem reported by the computer, see if the hesiatation problem still exists. The light on just tells you that there is a "fault code". If you follow the computer diagnostics you'll waste a lot fewer parts.