1. Cook the orecchiette pasta in a large pot of salted boiling water according to package instructions. Drain and set aside.
2. In the same pot, add the broccoli florets and cook until tender, about 5 minutes. Drain and set aside.
3. In a large skillet, heat the olive oil over medium heat. Add the minced garlic and red pepper flakes (if using) and sauté until fragrant, about 1 minute.
4. Add the cooked pasta and broccoli to the skillet. Toss to combine and heat through. Season with salt and black pepper to taste.
5. Serve with grated Parmesan cheese on top, if desired.