Looks like an excellent diagram for rewiring your truck.
I fabricated my own harness after carefully removing the old and identifying all (or most) of the wires.
Good luck with your project, lots of great advice here