I have a 1991 Jeep Cherokee Laredo 4x4. When im driving all my electrical stuff turns off but turn on right away but the engine keeps running. This only happens when im driving through rough terrain, when i come to a stop and i start to accelerate, or when i hit a bump or dip. I replaced the battery and i checked for loose cables at the battery terminal but didnt find any. Any idea what could be wrong ?