I assume you do know the correct cost basis to use here.
Enter the sale using the default "security sale" interview that comes up when you tell TurboTax that the sale was reported to you on a 1099-B. Then click the blue "I'll enter additional information on my own" button. That will bring up a new screen and you can enter the correct basis in the "Corrected cost basis" box.
Tom Young