Yazaki Corporation has agreed to purchase all the company shares of Tata Yazaki Autocomp (TYA), its Indian wire harness manufacturing and sales joint venture company.