The Indian men’s badminton team scripted history by reaching the Thomas Cup semi-final after narrowly edging past Malaysia 3-2 on Thursday.