Trouble was brewing for years at Doral-based homebuilder Shoma Development Corp., but an Internal Revenue Service audit and U.S. Tax Court fight brought the family squabble bubbling to the surface.

Shoma shareholder Jose Antonio Lamas triumphed over the IRS on Wednesday in a lawsuit that allowed him to claim a $5.26 million tax refund.