Cut tofu into ½ inch cubes and lightly brown in oven at 350 degrees. Add oil and the cumin seeds to pan and sauté just long enough to toast seeds. Add diced onion and ginger. Sauté until onion is transparent. Add cayenne pepper, turmeric, salt, coriander, garam masala, and tomatoes. Allow to simmer for a few minutes. Add tofu and peas and simmer for a few minutes longer.