Optional garnishes: sprigs of fresh cilantro and lime wedges
Soak rice noodles in cold water for at least 1 hour (noodles can be soaked longer and even over night). Drain and set aside.
In a bowl, combine tamarind juice, fish sauce, rice vinegar, sugar, and ketchup. Set aside. Heat oil in a wok, add garlic. Sauté for 30 seconds until garlic is fragrant. Add shrimp, tofu and egg. Stir-fry for 1 minute, until egg is scrambled. Add rice noodles and tamarind juice mixture. Stir-fry all ingredients until well cooked and combined. Serve with bean sprouts on the side, peanuts sprinkled over the top, with fresh cilantro and lime wedge garnishes.