Lost of power

Those intermittent problems are the most fun.... not !
My first wild guess, worn out distributer parts. Advance plate rotation changing reluctor gap or shorting its wiring.