I read something somewhere that said it could be a fuse. Something about when the rear wiper or rear top brake light short out it blows a fuse. And this can lead to the vehicle not shifting out of park.
I am new to Disco's so I am limited on knowledge at the present but I know I have read something like this before. I'm sure some of the experienced gus will hone it.
JC