A:
Firstly,
working in Riba-based banks is prohibited and it is impermissible for you to continue because it falls under cooperating in sin and transgression. Allah has prohibited this by saying,
...but do not help one another in sin and transgression.
It was authentically reported from the Messenger of Allah (peace be upon him) on the authority of
Jabir (may Allah be pleased with him) who said,
The Prophet (peace be upon him) cursed the devourer (taker) of Riba (usury/interest), the one who pays it, its scribe, and its two witnesses.
Similarly,
Ibn Mas`ud (may Allah be pleased with him) said,
The Prophet (peace be upon him) cursed the devourer (taker) of Riba (usury/interest), the one who pays it, its scribe, and its two witnesses.
(Related by the Five Compilers of Hadith (Imams Ahmad, Abu Dawud, Al-Tirmidhy, Al-Nasa'y, and Ibn Majah) and authenticated by
Al-Tirmidhy).
You should repent to Allah from doing so.
Secondly,
as for the past years of working in this bank, we hope that Allah pardons your sins and there is nothing wrong with the money you received for your work during this period of time if you were unaware of the Islamic ruling concerning this. We also hope that Allah accepts your Hajj covered by this money as He (Exalted be He) says, (Part No. 15; Page No. 46)
...whereas Allâh has permitted trading and forbidden Ribâ (usury). So whosoever receives an admonition from his Lord and stops eating Ribâ (usury) shall not be punished for the past; his case is for Allâh (to judge); but whoever returns [to Ribâ (usury)], such are the dwellers of the Fire - they will abide therein.
Allâh will destroy Ribâ (usury) and will give increase for Sadaqât (deeds of charity, alms, etc.) And Allâh likes not the disbelievers, sinners.
May Allah grant us success. May peace and blessings of Allah be upon our Prophet Muhammad, his family and Companions.