Sir;It's a known issue for the shifter from 2005 4 speed to the 2006-2013 6 speed shifters. The cause of the issue is a small cheap Park solenoid microswitch that gets weak and doesn't always latch when the brake is pushed, to send a signal to the Park solenoid to energize and unlatch the locking pawl for the shifter. ( This small switch is directly in front of the shift lever) see the pics in the attached PDF.
Eventually, this microswitch will fail completely, and the shifter will be stuck in Park (hopefully at home)
Many of us that have experienced it early in ownership, have either replaced the $1.99 microswitch, or simply tied back the locking pawl with a wire whenever required. ( have the wire run to the center console so I can pull it to release the locking pawl whenever I need to)
I did not replace the microswitch, but bent the switch lever back a bit so it would hopefully give it more strength to latch as required.
I've had to use the wire a few times, but it is nice to know that I don't have to rely on the microswitch to work.
I may replace the microswitch one of these hibernation periods.
It can be purchased online or at an electronics store.
The hardest part of this job is removing the radio surround console, then pull up the shifter boot up to the shifter knob, then remove the shifter indicator to get at the microswitch, and the locking pawl.
That is a great write up, however at the risk of appearing ungrateful, I am not sure that you have described the second switch correctly. I was unable to find anything that matched, so I tracked down the other circuit via the shifter wire connector diagram. It appears to me that the other switch is a SECOND shifter in park switch, 2008 see Column Lock Schematics, for 2005 see Column/Ignition Lock Schematics, the 2005 schematic actually calls it "Park Switch 2". unfortunately the wire colors do not seem to match your pictures, should be D-BU & D-GN/WH, and D-GN/WH & not spec-ed for the other, which is troubling, but not unheard of.
Thank You;
BGS