Man Utd have agreed a five-year £235m deal with TeamViewer to become their principal shirt sponsor from next season.