Assalamu Alaikum wa rahmatullahi wa barakatu brothers and sisters,

i have a question about missed prayers, i missed about 3 years of prayer , and i thank Allah for directing me to the straight path. i know how major this sin is and i plan to complete my extra three years of prayer that i missed by doubling my prayers insha allah;
i was just wondering what happens if death overcomes me, and i didnt finish my 3 years of missed prayers; will i still be punished? i had a good intention to finish up my prayers and insha allah, i will be doing this everyday...so will Allah punish me for not finishing my prayers or will he forgive me? Jazakallah Khair