look at your wiring diagram - see where there is a line labeled "dash panel" - the front and back of the truck [headlights/tail light] relate to the dash line, the wires go exactly as shown, left and right
also, if you don't have a manual, find it
here, also separate wiring diagrams there
Bill