Those symptoms sound a lot like bad o2 sensors. That's exactly what my Jeep has been doing, it will lose power and then sounds like it backfires when the power comes back. It isn't mixing the air and fuel appropriately. Change them out and get it tuned, I bet you that's the problem.