A father-son duo was gunned down in a market in Uttar Pradesh, leading to the key accused being shot dead by a mob.