@FredRD Welcome to the Forum! This topic isn't as common as the V8 swaps with the 2nd-gens, but similar swaps have been done.
To save you the trouble of having to figure it out yourself, firstly, you're posting this question in the wrong subforum. Go to the main page, scroll down to 3rd generation (2002-2005) forum, go under the Modified section, and then beat the Search function dead. Key search terms would include "V8 swap", "engine swap", and similar. However, I've done a bit of the field work for you, since I see that you are very new.
This covers a 3rd-gen V6 to 4th-gen V8 swap, but with both engines being 3rd gen on your application, basically it should be as simple as taking the engine, transmission, PATS, and all electronics from your V8 model, slap some new motor mounts onto the V6 frame, and bolt 'er all back together.
I currently have a 2005 Explorer XLT 4.0L 4x4 and have been wanting to swap it to a 4.6L V8. Comparing the 3rd and 4th gen 4.6L V8s the 4th gen has about 50 more hp so I feel that would be the better swap. Has anybody heard of someone that has performed this swap before? My questions: Are the...
www.explorerforum.com
Recommendation: use the door lock cylinders and ignition cylinder from the V8 donor vehicle, 'cause the PATS will go nuts with two different key codes. I assume that you already know such common-sense details, if you're proficient enough in the field to perform an engine swap.
There are other 3rd-gen engine swaps, but I didn't find any immediately concerning the exact swap you'd be attempting. Again, beat the Search function dead, and if nobody has made a write-up about it, be the first! If you've got all the materials from both Explorers to get the job done right, then it should be basically the same as any other ECU + engine + transmission swap. Don't skip steps, don't cheap out, and don't work while you're tired!