I replaced the key cylinder and the ignition switch, why wont the car start? on 2004 Chrysler Crossfire

The car starts a few times , and then it shuts off. is this some type of theft mode.

Asked by for the 2004 Chrysler Crossfire
It may be a security related issue. How many miles can you travel before the vehicle shuts itself down? If the vehicle shuts down before you can make any progress it is likely a security related issue. If a few miles can be driven before shutdown it is likely something else. Did you do the work yourself or at a repair facility? If performed by a facility, it should be under warranty.
it starts and runs only couple seconds ,worked on it my self ,it will start couple times
Understood - Does a dashboard "theft" or "security" light blink when this issue arises? If so, it is most likely security related. Ultimately, I suspect a service visit may be the fastest path of resolution (and peace of mind).