Second row dome light
Won't come on when door is
opened ,only when I turn it on
It's kinda odd that this would happen on a vehicle that's only five years old. But, it's a broken light switch in one or more doors. Look at the door jambs for a plunger switch and see if one is stuck down, or closed. There's a boot over it; just remove the boot and spray WD40 into it. That should free it up. Or your switch might be part of the door latch. In that case, spray into the latch to see if that works, but in that case you'll likely have to remove the latch to fix or replace it.
Before u start replacing parts, check to see if with vehicle running, open that door and see if u get door ajar alarm, if u don't, then the switch is bad or bad wiring, If it does alarm, it's not the switch