Look, you gonna work on this thing you gotta figure out what you got cause if you don't know for instance what cam is in it. If you can't figure it out list what aftermarket parts you got and get a cam recomendation.
You can try to make what you got work but it ain't gonna be like change a part or plug something in and suddenly all's well.
Start with the 'surging idle checklist '
Updated 26-Oct-2019 to clarify creeping idle RPM increase as the car is being driven. Many of you are familiar with the "Cranks OK, but No Start Checklist for Fuel Injected Mustangs" checklist and the No Crank Checklist. They are very effective in finding and eliminating the problems by use of...
forums.stangnet.com
Read the instructions, do the steps paying attention to the notes for the 94-5 years, they are a little different, post any questions and your progress here.
Give us a pic of the engine, we can start there.