S corporations, or S-corps, are one of the most popular entity choices for businesses. In contemplating the sale of an S-corp, plan how transaction is structured from tax perspective to maximize gain on sale and avoid pitfalls that can result in liabilities for shareholders.