In a large deep skillet or Dutch oven, whisk the soy sauce, brown sugar, broth, garlic, ginger, black pepper, and red pepper flakes (if using) until the sugar dissolves.
Nestle in the chicken, skin-side down. Bring to a boil over medium-high heat.
Lower the heat to medium-low so the sauce gently bubbles. Simmer partially covered 40 to 45 minutes (25 to 30 for boneless), turning the chicken halfway, until very tender and at least 175°F.
Transfer the chicken to a serving platter and tent with foil.
Strain the sauce to remove the garlic and ginger (optional), return it to the pan, and skim off the extra fat. Boil over medium-high heat about 5 minutes, until slightly reduced.
Stir the cornstarch and cold water into a smooth slurry. Whisk it into the boiling sauce and cook 1 to 2 minutes, until thick and glossy. Taste and adjust with more sugar or a splash of water.
Pour the sauce over the chicken, sprinkle with green onions and sesame seeds, and serve right away with rice.