Best way to get the connectors is either junkyard or sourcing a rear tub harness for your year. Quote from the thread I am stealing from:
"Every rear tub harness for every TJ is almost identical except for one variation
97-02 - These models have a 10-position plug. 97-00 models have a dome light circuit with two extra wires
03-06 - These models have a 6-position plug."
Picture of the connections
Thanks to @Jamison C for documenting a bunch of this specific wiring!