If it was a Fox my first guess would be the TFI but theyre slightly less prone to fail after they were moved away from the engine. Like has been said, the pickup inside the distributor is a likely culprit. It controls fuel delivery and spark and your symptoms sounds pretty accurate to one thats on its way out. TFI module is the cheaper of the two but that can be easily tested at most parts stores. If it was me, Id have the TFI tested to rule that out. If it is, 50 dollars or so will get you a new one from the aftermarket. If that tests good, theres a pretty good chance its the profile ignition pickup aka the stator signal. You could always do like the wannabe mechanics due to me at the Advance I work at nights. Buy the distributor, try it out. If it works, keep it. If it does the same thing, bring it back and say you ordered the wrong part. Happens all the time when Im on. Its obvious whos going to do it too, because they dont even know what half the parts are called, let alone how to properly diagnose them. Good luck to you in any case.