Justin Timberlake has negotiated an agreement to resolve his drunk-driving case in the United States.