wmburns is right about the potential effects of low and also high voltage. If it is a voltage problem don't forget to check the belt. You say downshift but do you have an auto or man trans? If it's an automatic have your torque converter checked. It probably isn't unlocking. I'd also check the fuel pressure. If it's fuel pressure the source of the problem could be a lot of things including the fuel filter. Is it choking fuel delivery forcing the pump to work harder which conflicts with what the PCM expects to do when slowing down? The problem could also be something as simple as a bad gas cap. It's part of your evap emission system so actually any bad seal could cause this problem. I'm not familiar with your specific car but I believe it has a return fuel system? If so, a leak in the evap system is more problematic then in a non-return system. If it is a return system you should check the vacuum line to the fuel regulator. Beyond the regulator check all the vacuum lines. Is there a vacuum pump on your car? Check the vacuum control valve, the vapor canister valves and the solenoid or motor on the EGR valve along with the hoses and sensors on the EGR valve. What this all gets to is when you rpm goes down the vacuum should be going up and if it's not there are a number of things that aren't going to serve their intended function which could stall the car. There are text books on vacuum and there is no way cover it all here.
As you can see, there isn't a quick answer to your problem. Ford has a Powertrain Control\Emissions Diagnosis Manual for every year of car\trucks that will tell you how to check all of this without buying anything until you track the problem down. You will need some tools like a VOM, vacuum hand pump, etc.