Did it run before you did this work?
If it did, then you have something not set right. Backfires indicate a firing order/timing issue or a valve sealing issue. If it ran fine before this work, that rules out the valve issue. Perhaps when you were changing the distributor out, you didn't get...