If you're looking for a cheap way to travel from Lucknow to Azamgarh, a pooled taxi is a great option. You can often find these vehicles at several spots in Lucknow and they typically run along a set path.
Be aware https://incigo.in/lucknow-to-azamgarh-ride-sharing-taxi/