In the 80's i read a book about a man who finds a spaceship that is like an ark. He goes from planet to planet trying to help solve problems with the ships super science (which he doesn't understand) and the solutions often cause more problems.
In the end he is in a challenge with a Moses like character reproducing the plagues of the Old Testament.