The government Thursday unveiled stricter federal rules governing organic livestock and poultry farmers, capping years of industry fighting about the proper ways to raise chickens, pigs and other animals.

The U.S. Department of Agriculture’s proposed regulations set requirements for animals’ space and ban certain rearing practices.

The number...