If I am not mistaken the 04 turbo is has electronic wastgate control and of course the 02 is vacume. It may bolt on but not worth the trouble.....
I have a stock '04 turbo that came off of my truck because I bought a bigger one. Will that turbo bolt up to an '02? A buddy of mine has an '02 with the turbo out and it is a few hours away to where I can not look at it.