Check vacuum lines.

With it being a 97, I'm sure literally everything is dry rotted.

Replace all of those and do the intake gaskets as well. Could be those, too.