Retirement tax questions

No.  If you sold assets and have a capital gain, that is taxed according to the rules that apply to capital gains.  It doesn't matter what you do with the money.