I have gone pretty far with the help of others. I bought a “rebuilt” 2003 5.3 engine. I have it running on a run stand but am disappointed with compression in 3 cylinders. I plan to use the engine as is and maybe things will improve.
There are many fiddle factors to deal with. Among them are
Choice of oil pan
Accessories brackets
Drive by wire or cable for the throttle.
Factory wiring harness and flashed ECM or Aftermarket wiring and ECM

I bought the Holley Terminator X wiring and ECM because it is self learning and shouldn’t require paying someone to tune the engine.

Depending on your knowledge base, this will be a fun adventure. I knew nothing about fuel injection and ECMs. I’ve enjoyed learning.

Get your wallet out and get ready for the long list of “stuff” you’ll likely need to buy.

Here’s a video of my engine on a run stand. It’s not in the truck yet.