Victoria Gotti, who was in danger of losing the Old Westbury, Long Island, home where she and her sons were filmed in the reality show “Growing up Gotti,” has made a deal that will keep her home from foreclosure. Gotti had said she needed money that her ex-husband, Carmine Agnello, owed her in order to make payments on the home. But Agnello needs to pay off a $10 million racketeering penalty from a guilty plea in 2001. He planned to use money from the sale of up to a dozen properties to pay off the penalty, and Gotti’s deal with federal officials will give her a portion of the properties.