please help
I have a 97 f150, I have replaced the starter, battery and relays but when I turn the key the truck go's dead I have to keep boosting it and I'm at the end of my rope here what am I missing.

Need a bit of clarification
When you turn the key from off to start, the battery goes dead, as in < 12 V DC ?
Have you tested the battery ? Don't know if you replaced it with another or a new battery, could be a DOA battery if it will not hold a charge.
Disconnect the battery and charge it on a low setting until fully charged ( this would be a 2A setting, and take a few hours depending on how dead the battery is ).
Once the battery is charged, verify with a meter, is should show 13 + VDC ( usually in the 13.4 range ). Let sit ( still disconnected from the truck ) for 2 hours, and check again. The meter should show the same value +/- 0.2 VDC.
Let sit overnight, and check again, should be within =/- 0.2 VDC of the last reading ( or a max of 0.4 VDC from the complete charge reading post charge ). If the battery is in the 12.6 range it is questionable, but still considered OK by most. If the battery has dropped below 12.6 VDC overnight it is no good, and needs to be replaced.
Once you confirm the state of the battery as good ( will hold a charge on its own ) installed in the truck, when you turn the key from off to run ( do not start ) does the truck power up correctly ?
When you turn the key from run to start, what happens ?
When you turn the key from off to start, the battery goes dead, as in < 12 V DC ?
Have you tested the battery ? Don't know if you replaced it with another or a new battery, could be a DOA battery if it will not hold a charge.
Disconnect the battery and charge it on a low setting until fully charged ( this would be a 2A setting, and take a few hours depending on how dead the battery is ).
Once the battery is charged, verify with a meter, is should show 13 + VDC ( usually in the 13.4 range ). Let sit ( still disconnected from the truck ) for 2 hours, and check again. The meter should show the same value +/- 0.2 VDC.
Let sit overnight, and check again, should be within =/- 0.2 VDC of the last reading ( or a max of 0.4 VDC from the complete charge reading post charge ). If the battery is in the 12.6 range it is questionable, but still considered OK by most. If the battery has dropped below 12.6 VDC overnight it is no good, and needs to be replaced.
Once you confirm the state of the battery as good ( will hold a charge on its own ) installed in the truck, when you turn the key from off to run ( do not start ) does the truck power up correctly ?
When you turn the key from run to start, what happens ?
.
Once the battery is charged, verify with a meter, is should show 13 + VDC ( usually in the 13.4 range ). Let sit ( still disconnected from the truck ) for 2 hours, and check again. The meter should show the same value +/- 0.2 VDC.
Let sit overnight, and check again, should be within =/- 0.2 VDC of the last reading ( or a max of 0.4 VDC from the complete charge reading post charge ). If the battery is in the 12.6 range it is questionable, but still considered OK by most. If the battery has dropped below 12.6 VDC overnight it is no good, and needs to be replaced.
Once the battery is charged, verify with a meter, is should show 13 + VDC ( usually in the 13.4 range ). Let sit ( still disconnected from the truck ) for 2 hours, and check again. The meter should show the same value +/- 0.2 VDC.
Let sit overnight, and check again, should be within =/- 0.2 VDC of the last reading ( or a max of 0.4 VDC from the complete charge reading post charge ). If the battery is in the 12.6 range it is questionable, but still considered OK by most. If the battery has dropped below 12.6 VDC overnight it is no good, and needs to be replaced.


