NEW YORK — Toys R Us, a nostalgic favorite even as many shoppers moved to Amazon and huge chains like Walmart, plans to close up to 182 stores…