Which ecm 06 ram 5.7????

Don't know if the year makes a difference on the computer. You might be able to check the pinouts in a service manual. I do know a 4x4 computer will work fine. My engine and trans came from an 05 2500 4x4, just had to change out the tailhousing on the trans to a 2wd one. No flash required as it did not have security.