I don't know of any mod with a mechanism like that, but here are some random ideas:
A vanilla dispenser or dropper will output a random item from one of its 9 slots. This is limited to 9 items, but it is possible to combine more of them with some clever redstone.
A IC2 scrap box will give a random item when used. Here you have no control over what items it can give.