J&F Investimentos SA has agreed to sell a controlling stake in Havaianas flip-flop maker Alpargatas SA for 3.5 billion reais ($1.1 billion), according to securities filings on Wednesday.