Help with a miss and voltage drop

I would also look at the ignition circuit into the engine bay. If you kept a lot of the wiring, then it is feeding both the ignition and the alternator/regulator. The ignition connection dropping out for a moment would cause both problems that you describe. (Why that would happen only at idle and in gear, I cannot say but stranger things have happened.)