Preheat oven to 400 degrees. Place parchment paper on a baking sheet.
Place tomatoes, oil, garlic, oregano, salt and 2 tablespoons basil in a medium bowl. Mix well.
Place tomato mixture on prepared baking sheet and bake for 25-30 minutes until the edges of the tomatoes brown and the tomatoes soften.
Cook pasta according to instructions.
Place roasted tomatoes over pasta and top with remaining 2 tablespoons basil. Toss in the beans.
Top with feta or parmesan cheese if desired and serve immediately.