No, you cannot shift the automatic transmission with the engine turned off.
Gear shifting in an automatic transmission (automatic transmission) is carried out using hydraulic pressure, which is created by a running engine. If the engine is turned off, the pressure in the system drops and gear shifting becomes impossible.
Attempting to shift the automatic transmission while the engine is off may damage the transmission.