Prepare the pasta according to the package directions.
Meanwhile, heat the oil in a large nonstick pan, over medium-high heat. Add the tomato, garlic, and red pepper flakes; cook stirring occasionally until the tomato is softened, about 5 minutes. Add the asparagus, broth and lemon juice; bring to a boil. Reduce heat and simmer until the asparagus is tender, about 3 minutes longer.
Add the pasta, ham, basil and parmesan to the pan; toss to combine.