If the car will run when you jump it off then it is not the main relay. The main relay turns on the ecu and fuel pump and if it was not working then the car will not run at all.

Make sure the ground wire between the chassis and the transmission is good. I have seen that if this ground is bad then the starter will not work. It may also be a bad ignition switch. Good luck.