TOKYO — In another sign of China’s manufacturing ascent as Japan struggles, the Taiwanese giant Foxconn Technology will become the largest shareholder in Sharp, a former exemplar of Japan’s electronics empire that has fallen on hard times.

Besides giving Sharp an injection of cash, the Foxconn deal, announced here Tuesday, will aim to help the Japanese company restore profitability to its TV manufacturing and liquid-crystal display businesses.

Sharp is a big maker of flat-panel television sets, and is still considered an innovator in liquid-crystal display, or LCD, technology. But the company is hemorrhaging money. And, like its compatriots Sony and Panasonic, Sharp has lost ground to more nimble South Korean companies like Samsung and LG.

Headquartered in Taiwan, Foxconn has become a world leader on the strength of its sprawling factory campuses on the Chinese mainland. It is primarily a contract manufacturer, with premier clients that include Apple for which it makes iPads and iPhones.