WARNING: This page is about a different car, the 2020 Infiniti QX50. However, it is still accessible from the selected car via links, so may be relevant.
The P position switch transmits the ON/OFF signals of 2 contact switches to the electric shift control module.