starts but wont stay on on 1998 Dodge Durango

my truck starts but will not stay on and the engine light is on. I need help asap.

Asked by for the 1998 Dodge Durango
This would be a Throttle position sensor. Just replaced one on a 1999 Durango about 1 hour ago. They run about 34.00 at O'Reilly auto parts. If looking from the front of durango it is to the right of the intake next to breather. Has 2 screws and a plug. Hopethis helps.Chris J.C. Towing And Recovery Cincinnati,Ohio (800)991-6302