Michael Wigglesworth (1631–1705) was a Puritan minister and poet whose poem The Day of Doom was a bestseller in early New England .