The problem with not going over 4000 rpm in park is not a problem at all. The computer has software in it to prevent the rpms from going higher than 4000 rpm to prevent engine damage. Almost all of the manufacturers have this software in place to prevent damage under warranty and them having to fix it for free. High rpms like that can damage an engine and should not be done.
As for the choking out at a red light there is an item on your engine called a idle air control (IAC) valve. This valve allows air to bypass the throttle valve in the throttle body to keep it running at an idle when the throttle valve is closed. This IAC gets dirty and needs cleaned periodically. You can clean it by removing the hose between the throttle body and the air cleaner housing. Go to an auto parts store and buy some throttle body cleaner. Now start the car and spray the cleaner into the throttle body. It will clean the throttle body as well as the IAC. You may need someone to keep the car running by giving it gas as you are spraying.
__________________
I hope this helps. Please click the Accept button to close the question.

