If you're looking for a cheap way to get from Lucknow to Azamgarh, a pooled taxi is a great option. You can often find these cars at numerous places in Lucknow and they often run along a set path.
Keep in mind that https://incigo.in/lucknow-to-azamgarh-ride-sharing-taxi/