No. William Shakespeare lived 1564–1616. John Milton lived 1608–1674. Their lifespans overlapped by only eight years (Milton was eight when Shakespeare died). They belonged to different literary generations—Shakespeare to the late Elizabethan/Jacobean stage; Milton to the Puritan/Restoration era. Milton admired Shakespeare (writing a poem for the Second Folio), but they never met, corresponded, or influenced each other directly.