why is my car hesitating when accelerating? on 2005 Chrysler Pacifica

Seems to lose power when accelerating at about 10MPH and again at about 25-30MPH. Also having problems with gas pedal getting stuck.

Asked by for the 2005 Chrysler Pacifica
Any codes in computer? May be a problem with the throttle position sensor (TPS)!!