Hello and welcome to TTS.. I'm not a tranny guy but I'm sure one of these guys will know your answer..I'll tag a couple of our senior wrench aholics...
@WarWagon @ak diesel driver @Will L. If one of them don't know, they will know one of the guys that does
My first thought is that you will have electrical issues.. as the computers are different I believe.. going from diesel to a gasser I don't think will matter because I put a tranny from a 5.7 in my truck which has a 6.5 without any issues.
But I'll let one of the guys with more experience advise you on the rest