I think is a transmission problem. I seen that beforeMinisterofDOOM wrote:If you're stuck in third, the transmission may be in "limp mode," which CAN be caused by a bad TCU. Might also be caused by other electronic or sensor issues. Since you recently had the motor swapped, I'd look at the throttle position sensor. Might need to be recalibrated or may even be completely shot.
This thread includes steps for checking/adjusting TPS on a KA24 four cylinder, but it's basically the same process for the VG30 V6 in your Maxima.
And welcome to NICO!