So the lights work when the tail or back doors open. Your switches are bad or not getting power. This is not a fuse problem. Pull them and check them if you have an ohm meter. If not, use a test light. Sounds like the switches are the problem. They wear out over time or get dirty inside.