Part throttle bog then backfire?
I think you're on the wrong track, your comment about "RPM going to zero" is something THAT SHOULD NOT HAPPEN. I think you have an electrical problem that is dropping spark entirely, or losing supply voltage.
Print