I'm not exactly sure what you're asking, so here's some starting info:

First a link to a wiring harness for your Jeep, Draw-Tite #18409.

The four wires are Ground (White), Left (Yellow), Right (Green), and Running/Tail (Brown).

More info on vehicle wiring here.