A person familiar with the negotiations says Miami Marlins slugger Giancarlo Stanton has agreed to terms with the team on a $325 million, 13-year contract. It’s the most lucrative deal for an American athlete.