Peel onion and garlic. Dice onion, chop garlic finely. Wash and drain the tomatoes. Wash the pumpkin, grate dry, cut into thick slices and remove the seeds. Grate pumpkin. Wash oregano, shake dry and chop the leaves, except for something to garnish
Prepare the pasta in boiling salted water according to the instructions on the packet. Heat 1 tablespoon of oil in a frying pan and fry the tomatoes for 3-4 minutes, turning them over. Season with salt and pepper and remove from the pan
Put 2 tablespoons of oil in the hot pan, fry the pumpkin, onion and garlic in it while turning. Add broth, ketchup and oregano, bring to the boil, cover and braise for about 5 minutes. Pour pasta onto a sieve and drain. Pluck ham slices into pieces. Put tomatoes back into the pan, bring to the boil and season with salt and pepper. Mix the pumpkin and tomato ragout with the noodles and arrange on deep plates. Spread ham on top and garnish with oregano