Maybe a key problem. My 96 xp( has same electronics) had a similar problem once you put the key on everything would power up then shut off and it would do the same thing and then sometimes it would work fine. It ended up being a what they call the holding relay or cut off relay it’s a pain to find but here’s a pick of one with a part number