Could be the TCU. The dealer can scan for TCU errors I believe. In my experience if an automatic tranny is computer controlled and it's all of the sudden decided to stop shifting it's usually gone into limp home mode.
There could be various reasons to go into limp home mode from a loose electrical connector to bad speed sensor to major internal transmission failure. If the TCU is not fried it should have the fault code that caused limp home mode.
There could be various reasons to go into limp home mode from a loose electrical connector to bad speed sensor to major internal transmission failure. If the TCU is not fried it should have the fault code that caused limp home mode.