Oh, ol humfrz has a simple solution to most problems .... but, they usually don't work .....
I suggest you spray a bit of WD-40 or silicone spray in the trunk latching mechanism and open and shut the trunk several times, to see if will loosen up the switch.
humfrz