As shown in the attached you can see the brown wire is the feed to all of the tail and marker lights that are out. From the melted harness and light failure, it sounds like the lighting control module has likely burnt out from a load on it. The brake lights are all fed from the same switch and fuse. So that switch and fuse are OK. It then feeds the dark green that goes through the switch and to the lights on 2 different circuits.
You say it has nonstock taillights? If so, then it is possible that something in them shorted and caused an overload.
Images (Click to make bigger)
Saturday, March 29th, 2025 AT 8:17 PM