Sort-of random - under
exactly what conditions are hard-starting and occasionally running poor? Cold, hot, recently run, long drive, short trip, low-speed only, etc. Please be very specific.
I'd hit it with a vacuum gauge for diagnostics. Search for how to diagnose with a vacuum gauge, and use it, both when OK and when rough.
Sporadic issues are typically mechanical, but can be from a second source, i.e., sticking valves, poor tuning, floating dirt, plugged tank vent, etc. Too many to be guessing, and so testing will help a lot. Vacuum, leak-down, compression and other tests will help to move focus from "maybe" sources to diagnosed clues pointing in a specific direction.
I would also agree with checking and correcting everything you recently touched, then move-on to maintenance checks of everything else you should have also done. Silly stuff like checking vacuum lines for cracks, checking proper choke operation, replacing fuel filters, etc. There's
always something more to check on the list.
As DS modules are non-returnable from most sellers; you can first check the DS module with a timing light and rev in Neutral to high rpm. Timing should match spec's (see the FSM). If not, check distributor advance and vacuum canister to spec (FSM), which should be inspected and lubricated anyway (FSM).
If that's good, then it's the module. Also note the value of having a copy of the Ford Shop Manual (FSM) for your car. Huge time and money-saver. Good luck!