I'm not 100% positive but it may be an issue in the Transmisson range sensor or its connections. The system uses it to lock out the rear hatch for safety when not in park and it may have an internal issue.
I would try unplugging its connector and cleaning its contacts with an electronic contact cleaner as a first step.
Also clean the Body Control Module connectors as well.
I would try unplugging its connector and cleaning its contacts with an electronic contact cleaner as a first step.
Also clean the Body Control Module connectors as well.