strip the switch & clean it, was an aticle on jeepclub ages ago about this, mine works fine at the mo (ie on when the boot opens)
The light is switchable, but is there not also a switch or sensor in the door latch?