2007 rear deck lid stop light problem

The rear deck lid stop lamp stops working. Bulb good, works after disconnecting battery and re-attaching.
Relay problem? Software fix?

I seem to recall that this particular problem is rectified by a software update, especially as you have proved all components are working .

Thanks…any idea of the $$$?