Retirement tax questions

To avoid future problems,
refer to IRS PUB 550 Investment Income and Expenses section on Wash Sales before attempting this.

You should find an example that covers your situation.