Retirement tax questions

Thanks. But considering all other factorss remain unchanged except:

 

- Addition of $5K to income (W2G)

- Extra contribution of $5K towards 401K or IRA

 

Will that considered to be a wash?