Hi
Had similar problem with Discovery 4 (16my), Intermittent locking of the gear selector, this turns out to be the common interlock solenoid that occurs on all the rise and fall selectors at some point.
After a lot of web ferreting the fix is simple, it took 3 days and £250, a company called...