The "easy way" is to take it to the dealer and have them fix it under warranty. Takes less than an hour to replace the sensor that goes bad on some of the 2.5 engines.
Do a search on "hesitiation" and you'll find which sensor. I've since forgotten. It's been a while since anyone's had the problem.