WARNING: This page is about a different car, the 2018 Nissan Titan XD and 2018 Nissan Titan. However, it is still accessible from the selected car via links, so may be relevant.
Turn the ignition switch OFF.
Disconnect the harness connector (A) from the transfer control unit (1).
Courtesy of NISSAN NORTH AMERICA, INC.
Remove nuts (B) and remove transfer control unit (1).