97jeep cherokee no spark no fuel\voltage gauge SOLUTION

I have a 97 jeep cherokee it would crand over but didn't have any spark and fuel gauge and voltage gauge didn't work I replaced the computer and the crank sensor multiple times, I even checked all the fuses. BUT when I continuity tested all the fuses I found out that the automatic shutoff relay fuse under the hood in the fuse box didn't look blown or fried but it still wasn't any good and when I replaced it the fuel gauge and the voltage gauge came on and she fired right up