All the fuses and relays are listed here. Looks like they may be controlled by the Body Control Module?
Fuse Box Diagram Nissan Altima (L31; 2002-2006) https://fuse-box.info > nissan > nissan-altima-l31-2002-... Instrument Panel. The fuse box is located behind the cover below and to the left of the steering wheel.
There might be some help here. You can change the word 'windows' for 'moon roof'.
Answers & Comments
All the fuses and relays are listed here. Looks like they may be controlled by the Body Control Module?
Fuse Box Diagram Nissan Altima (L31; 2002-2006) https://fuse-box.info > nissan > nissan-altima-l31-2002-...There might be some help here. You can change the word 'windows' for 'moon roof'.
https://www.google.com/search?q=2006+nissan+altima+power+windows+not+working
..