A real estate investment trust has acquired the only grocery-anchored shopping center in Pompton Plains, in a $51 million deal brokered by HFF’s New Jersey office.