I would take a 3 hour connection at LAX, that should be enough for immigration and customs, and make sure that I have a through ticket... It would be AA or BA's responsibility to cater for you in case of a delay. The flight 3 hours later would be AA's alternative to get you out of LAX.