I received a corrected SSA lump payment in 23 for 22 and a 2nd 1099. What values are added or entered on which screens? Please be specific

do I add box 5s from both 1099s when reporting income?  The lump sum was entirely received in 2023.  When reporting the lump do I report anything in earlier year benefits?  This is all catch up for my wife who passed in 2022