Toys ‘R’ Us is working on getting a loan to fund operations in a potential bankruptcy filing near term, sources said.