Cuba Gooding Jr. settles lawsuit