The switch is immediately to the left of the latch mechanism in the trunk lid. You can see a pin on the latch plate on the trunk floor that actuates it. The carpet will have to be partially removed to gain access.
Mine failed last year -- I opened it and found the contacts jammed with corrosion and the metal slider broken. I repaired the slider and packed it with grease to keep out water. No problems since.
Wait... If your trunk is closed, how do you know the light is on?