I found a '99 Explorer being broken for parts, so I picked up the tail lights, and hatch, with wiring loom for not very much money.
I went about it the wrong way and took off the hinges, as a result it doesn't sit straight and is bent, so I need another hatch. Also, I wouldn't recommend trying to do it on your own, at 3am in the dark. The rear hatch is quite heavy and I don't recommend resting it on your head, as it hurts and makes your head bleed!
but other than that, it's pretty much plug n play. I do have a slight issue with crossed wiring, but I think that's down to a damaged loom under my rear seat that I'll address when the weather gets better.
and as for the keys... I think that's 1 chance in a million of that happening. One key is a pats key, the other is a plain key. But on the upside, I now have 3 keys. I just need some more fobs.
Si