Yes.
But you will see need to obtain a copy of your W-2 form.
If your employer at that time is still in business, you should try to contact them first to see if they can send you a copy of your W-2 Form from that year.
If you are unsuccessful there, you can always refer to the following information on the IRS website. You can either request a copy if you submitted a copy of your W-2 with your tax return. Or you can contact the Social Security administration to request a copy as well.
IRS request for W-2 Forms
@Joanntruji719