Welcome and the answer to your question is that it WON'T be a plug-n-play swap. Why? The '08 VQ35HR engine is quite different than the '05 VQ35DE that is blown. You'll have to swap the entire body harness, relays and sensors (not just the engine harness and ECM) to make it work.
We did accomplish such a swap for the Nissan Sport Magazine project Z, but that was a W2W racecar. There will always be CELs since the '05 G doesn't have the same electronic architecture as the engine you're trying to transplant. Forget about passing a emissions test, if they're required in your area.
Even if this G35 is a bargain, you're only investing in a hearbreaker. There's better options out there- keep looking!