How long does it take for the V5 to come back to me?

The DVSA should return your V5 to you within six weeks. If you do not receive anything within that time contact the DVSA here: https://www.gov.uk/contact-the-dvla.