Dan Fogelman’s new show harkens back to the glory days of feel-good TV.