For engine oil you can use any brand but transmission oil you need to be very careful. I only use transmission oil from Nissan OEM for my Infiniti. I used Idemitsu ATF 3 for my Maxima before but again you still need to be very carefully to choose correct type from Idemitsu.
In addition, if you never change transmission oil before and your car is over 10 years or over 160K km, it's also not good to change it now.