All you should need to do is relearn the key. Although it's odd that it ran for a few minutes before stalling. Typically the security system wouldn't enable the fuel pump and injectors after the fuel prime at key on. You may have other issues.