If you're looking for a cheap way to make your way from Lucknow to Azamgarh, a shared taxi is a great option. You can often find these cars at various spots in Lucknow and they usually run along a set path.
Remember https://incigo.in/lucknow-to-azamgarh-ride-sharing-taxi/