If you're looking for a cheap way to get from Lucknow to Azamgarh, a shared taxi is a fantastic option. You can often find these vehicles at various places in Lucknow and they usually run along a set path.
Be aware https://incigo.in/lucknow-to-azamgarh-ride-sharing-taxi/