ROUGH IDLE AFTER SMOKE AND SPARKS UNDER DASH DURING A RESTART on 1990 Ford Aerostar

I was starting the engine and let of the ignition too soon, turned the key again and when the engine started it was at a rough idle and then smoke and some sparks were seen under the dash somewhere or near the firewall. Now the idle is very rough and while it is drivable, I am 5 hours from home and need to leave on Wednesday morning. Any help would be appreciated very much.