A South Jersey man is accused of setting a fire inside a Maryland Walmart to steal nearly $10,000 in jewelry.