A Washington state rancher has agreed to a settlement with the Environmental Protection Agency regarding an unauthorized dam he built on his property.