Keywords tell the search engine what your site is about, page rank give is a measure of quality. Either one alone will not result in good search engine rankings. If your keywords are rare, then you can appear high in the rankings with a low (or even zero) page rank. For competitive keywords, generally sites with higher page ranks are going to appear higher But a page with a lower page rank can still appear above one with a higher page rank for the same keyword, if the search engine believes it is more closely related to that specific keyword.
Essentially the search engine asks two questions - what is this page about and how good is it. The interplay of these two things is what determines where your site will appear. The search engines use this information to attempt to give customers the most relevant, high quality sites to the search term. If they don't, users will quickly move on to another search engine that gives them better results.