Your transmission worked fine until you stopped at a red light now you have no forward or reverse gears this is a 1990 Nissan maxima automatic?

Hard to say, start with the basics-is the fluid full?