Bank of America said Tuesday it made a profit of $5.89 billion in the third quarter, following a series of losses, as it sold off non-core assets and built up its balance sheet. Bank of America, the biggest US bank in terms of deposits, reported net income of $6.2 billion for the July-September period, compared with a net loss of $7.3 billion in the year-ago period.