The 07/08 are wired the same. So that is fine. ECM wise.
All the gen3 and gen 4 engines have the crank sensor behind the starter, towards the back.

All gen4 engines have the cam sensor in the front. On the timing cover.


We need more info.