Toyota Tundra parking lights stay on after locking doors

The interior lights seem to be work like they should, when I lock the doors they go out within a few seconds. This is a 4-door Access Cab, not a true 4-door, so the rear door is a “suicide” door. The door switches are external, there is a lever switch that disables the external rear door latch when the front door is closed and a button under a rubber boot that senses that the front door is closed and turns off the interior lights and dash “open door” icon. These work normally and pressing the button in manually turns the interior lights on and off.
If you stand outside the truck and lock/unlock using the remote without opening any doors it’s the exterior lights that often stay on. If you unlock the doors but don’t open them they will relock like they should, but this sometimes also leaves the parking lights on.
By the way, the lock/unlock beeper works like it should but I had to unplug it so I don’t drive the neighbors crazy while I stand in the driveway cycling the locks for several minutes.
I’ve read on other forums about a main body ECU that controls fog lights etc. I wonder if this ecu or some other module/ecu is controlling the parking lights. If there is, is it accessible enough to re-seat connectors, etc.? I’ve listened under the hood and dashboard for relays that may have sticking contacts, figuring they would be inexpensive to replace but I can’t hear anything. I suppose if they’re solid state I wouldn’t hear them anyway.
I hate to take it to the dealer because it’s an intermittent problem, although it does seem to be getting worse.