Thats a known bad TPS condition. My Dakota would flare randomly just like that.
Good luck, I'm not hearing good things about non OEM replacement TPS