No. Jerry Trainor and Miranda Cosgrove are not related by blood or marriage.
They co-starred on Nickelodeon's iCarly (2007–2012) as Spencer Shay (older brother) and Carly Shay (younger sister). Their on-screen sibling chemistry was a hallmark of the show, but they have no familial connection in real life.