It looks like the system was put into "fail safe" mode which will limit the rpms to around 2,000. One of the first things to do is perform an ECU code readout with a portable scan tool to see if any fault codes are set. The tool can be purchased at most auto parts stores. Post the actual codes here on the forum so that we may be able to help you further. If there is one or more fault codes set, they can help point to the malfunction. If you have a copy of the FSM for your vehicle, the code readout procedure is described there along with a listing of codes. You can download a copy of the FSM from this web site: Owner's Manuals. The section EC.PDF is the one you need to read.