My '97 over the years dropped down to 500 rpm and was slow to start and would die sometimes if I let off the accelerator too quickly. About a year ago, I reset it to 750 rpm in gear (auto trans) and the air conditioner on. In park it is around 900. Starts instantly and doesn't die. Some of the guys on this forum know those codes. If you search this forum, you can find lots of posts on adjusting the idle, and probably what the codes are.
I would find them first.
Wish I knew more, Tom