1997 fuse #27 is 10amp
Could be Dimming module is broken so keeping dome light on, or could be one of the door switches or its wire
See if BOTH "Door Ajar" lights on the dash work, same switch is used for Dome light trigger
GEM activates Dome light when either door is opened
Door open switch is a Ground to the GEM, so no Ground is door Closed, Ground is door open
If the wire from either switch is shorted to a Ground then GEM will think door is open and will turn on dome light AND "Door Ajar" light on the dash