Gerber Products Co. will exit New Jersey next year as it moves its U.S. corporate headquarters from Florham Park to northern Virginia, the baby food company announced Monday.