going back to your thread when you were thinking about buying the truck - I still cant help but think that it may have been flooded / submerged
https://forum.ih8mud.com/80-series-tech/303063-good-deal-1996-lx450.html
if not completely under water - perhaps left with sunroof (or drivers window) open during a 100 year (lots of rain) storm
only other thing I can think of is that prior owner went and bubbafied everthing up (did they
tap power / ground for headrest DVD panels or extra lights / stereo components ??? any extra gauges or switches in the dash or overhead)
did you ever get the (three of the four were inoperable) windows to work? was it window motor or switch?
in this case of the dome light -
Is this just the dome light between 1st and 2nd row seats? the one in the back is working fine or is it screwed up too?
I assume that your LX is the same as my FJ of same year with the front dome light come on only with front doors opening, and back dome light comes on with back doors (or tailgate) opening....
I would try the dome light with all the doors shut - then open / close each door one at a time.... do this with switch at "door" and again switch on "ON"
make sure both sides do the exact same thing, and also - do the front doors (and front light) do the same as the back doors (and back light)
it has to be either a door switch or the light switch, or a ground (or PO bubbafied everything with a bad splice into the wiring)
If both front and rear domes have same quirky behaviour I would look first at ground
if rear light is working but front is not, then I would swap the components front to rear to see what makes a difference.....
door switches look like an easy swap - a 10 mm socket and a couple minutes.... pull out the rear switch, disconnect lead, repeat on front, reinstall rear switch in front.
still waiting on pics of your new truck.....