I've set up extra lights in the tailgate and wanted to have them come when the tailgate opens. Stock rear dome light is ground switched - with the switch in the tailgate latch. When the tailgate is closed, dome lights have a ground.
Inside the tailgate is a 20 pin connector to the tailgate ECU...