HUNTSVILLE, Texas — Texas executed on Tuesday a criminal convicted of the 1987 killings of a father and his infant son and who three years after at his capital murder trial grabbed a loaded gun from a drawer in the courtroom and tried to attack the judge.