A 40-year-old former software engineer allegedly shot and killed his wife, a bank manager, near Magadi Road on Tuesday evening after receiving a divorce notice. The accused, who had been trailing his estranged wife for months, surrendered at the local police station immediately after the crime.