Nissan Motor will take over production and sales of its cars in Thailand, sealing a deal next week that fell through at the last minute two years ago.