Does it have a catalytic converter??
I'll bet youv'e got one cylinder not firing all the time, and raw gas going into the Cat,,,then it would pop like that.
Also check out your Vac advance for proper operation,,if it's sticking advanced on idle then your rpm will be outa whack