This is the first leg of the flight EWR to RIX (Riga, Latvia), with a stop in Stockholm. Meals are included. Flight duration - 7h 55min.
You don't have to continue to Riga, if this was not your plan. But make sure you don't have checked baggage to Riga.