The widow of an NYPD detective killed in the line of duty in 2024​ took the stand Thursday in the trial of the man accused of murdering him​.