Have you quit the idea of repairing your existing drive shaft?
Whoever will install the new one you order should carefully compare your old and new before attempting install.
If it is wrong size you will be able to say "Opened and inspected, but not installed. Still brand new".
This should enable a return if your supplier accepts returns.
I hope you get some quality assistance with this project.
The U-joint failure was likely caused by lack of grease to lubricate it. Not to surprising as most vehicles on the road no longer have greasable components. Properly lubed components can last nearly forever. Non-greaseable components have a lifetime, then fail.
Our 4runners are designed for harsh usage and thats why they are built with maintainable components.