I believe he was taken to court by the father of Ron Goldman, who won rights to the book. I'm not too familiar with the circumstances arouns the case, though, so this doesn't necessarily refute the idea that OJ could potentially have profited.
My understanding was that Goldman initially won a lien on the profits from the book, since Simpson owed Goldman money from the civil suit, and later the Goldman's where handed the book rights by the bankruptcy courts, when OJ failed to pay his debts.
So in theory OJ could have profited if he didn't also, independently, owe the Goldman's a lot of money.