I would go with a PCM problem honestly. If it was working before the key ON/battery disconnect problem, then the PCM is what is screwed up...