Yes, I agree with Scott, in that surgery is not necessarily an automatic fix for food intolerances. That being said, unless you have bonafide food allergies or problems with lactose or gluten, for instance, it may be that certain foods that aggravated your UC may not in fact be as problematic once you colon has been removed, since you won't be in active flare. In general, many people find they are able to better tolerate a wider variety of foods after removal of their colon as compared to when they had active UC. The problem is, we are all highly individual, so it's impossible to predict what your own outcome will be. You may be lucky and be able to eat almost anything, or you may have similar food restrictions as you had before surgery. In most cases, it's a process of trial and error. After surgery, it's recommended that you introduce foods back into your diet slowly, a few at a time, and see how you react. Some people find it helpful to keep a food diary, so that they are more easily able to identify foods that cause problems. You may in fact find that once the UC is "cured" then some of the foods that gave you issues before will no longer cause problems.
Of course, just being potentially able to eat more foods is not in an of itself a reason to opt for this surgery; though it is potentially one of the bonuses of a successful j-pouch. I think it's more your overall health that you should be concerned about. If you have been in an active flare for 3 years and have never achieved remission, surgery is absolutely something you should consider.