Dart electrical problem

I had that happen on my 90 318 EFI D-150. Turned out to be the cam sensor or magnetic pickup in the distributor.