In terms of story line they're a bit different. But both dramas have Female Lead who knows they don't have enough time to live and they'll do anything for their child. Both dramas also have wonderfully written supporting characters like the FLs Best friends. Plus the MLs emotional acting gives you same feeling. ..
Both Male Leads are Fake. Suits have a fake lawyer, while Your Honor features a fake Judge. Both ML are competent enough in the Law.