Mexican corn flour and tortilla maker Gruma swung to a profit in the third quarter of 2009 as sales increased 12%.