Get your taxes done using TurboTax

No. If you sell stock that has a gain, you pay the tax.  It doesn't matter how you plan to use the money.