Jessica Mendoza, an analyst on ESPN’s Sunday Night Baseball since 2015, has reached a multiyear extension and will become the first woman to serve as a solo analyst on national baseball telecasts.