My 2.0 went crazy when the battery went south as well.
This sounds like timing to me. The first time I changed my belt, the intake side was 1 cog off. The car ran brutal!
While you have the head off, insure it isn't warped. Bad water pump causes aluminum to away fast.
PCM relay?