Yarn maker Unifi returned to profit in the fiscal fourth quarter thanks to strong revenue gains of 26.6% in the three months to 27 June.