1999 dodge ram 2500 5.9 360

It's misfiring. If you continue to drive it while its missing then you will destroy your new cat. Anytime the check engine light flashes, that means that it is a misfire. Check to make sure that your plug wires are routed correctly. They have a TSB on that.