Federal lawmakers took a major step Wednesday toward passing a federal farm bill for the first time since 2018.