Rachel Maddow, MSNBC’s highly rated host, has signed a new deal that will keep her at the network for the next several years, according to people familiar with the matter.