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 taxis at numerous spots in Lucknow and they often run along a set path.
Keep in mind that https://incigo.in/lucknow-to-azamgarh-ride-sharing-taxi/