Krysten Ritter is an actress known for roles in shows like "Breaking Bad" and "Jessica Jones". John Ritter was an actor, known for his role in the sitcom "Three's Company". They are not related in any way.
It's understandable to think they might be related, as they both have similar last names and worked in the entertainment industry. But, there's no evidence of any connection between the two.