No. The box 5 is NOT an IRA contribution.
Assuming that this as a designated Roth distribution then box 5 is your contributions to the 401(k) Roth at your employer. It is NOT a Roth IRA.
If you are rolling it to an IRA then keep track of the box 5 contributions that can be applied to the Roth IRA basis when you take a distribution form the IRA.