In a large pot or Dutch oven, heat the vegetable oil over medium-high heat.
Add the pork pieces and brown on all sides. Remove the pork and set aside.
In the same pot, add the chopped onions and cook until golden brown, about 10 minutes.
Add the minced garlic and cook for another minute until fragrant.
Stir in the sweet paprika, hot paprika (if using), and caraway seeds. Cook for 1-2 minutes, stirring constantly to prevent burning.
Stir in the tomato paste and cook for another 2 minutes.
Add the drained and rinsed sauerkraut to the pot and stir to combine.
Return the browned pork to the pot.
Pour in the broth and add the bay leaf.
Bring the mixture to a boil, then reduce the heat to low and let it simmer for about 1.5 to 2 hours, or until the pork is tender.
If you prefer a thicker sauce, mix the all-purpose flour with a little water to form a slurry and stir it into the guláš. Cook for an additional 5-10 minutes until the sauce thickens.
Stir in the sour cream and marjoram, and let the guláš simmer for another 5 minutes.
Season with salt and black pepper to taste.
Remove the bay leaf before serving.
Ladle the segedínsky guláš into bowls and garnish with fresh chopped parsley.
Enjoy your meal!