All 4 wires you described (dark green, yellow, brown, light green) go from the rear of the truck along the frame to the fuse block in the cab. From there, who knows? But that doesn't matter as long as it works.
The rear harness should plug in (to the plug you say is gone) and split off to each...