If it is as Rusty says, then it looks like it is the original “extension harness” that came on factory hardtop equipped models. They came from the factory with the hardtop installed & the soft top also installed folded down of course. With the folded top in place the wiring to the HT would not reach so they added that extension. It was supposed to the removed when the soft top was removed. They were not intended to have both tops on after purchase.