A Good Age
One can make a good case that the best age for marriage is when a person is in the mid-20s, above the typical college age, but before one is 30 years old.
The advantage of experiencing marriage before (say) one is 40 or older is that younger people are less set in their ways. They are more likely to be somewhat flexible in their lifestyle compared to people who have lived for decades as a single person who then marries for the first time at the age of 40 or 45.
People can face another issue if they wait for marriage until they are middle aged. Many appealing members of the opposite sex are wed before they reach the age of 30 or 35. Those who have been single their entire life, then choose to be wed after they are 40, are often faced with a pool of people who have wed at least once.
Children, spouses or both who still exist from previous relationships can often add a degree of complexity and difficulty (as well as financial responsibilities in the case of child support payments) for a person who desires marriage for the first time. A couple should aim to be in reasonably good financial shape before having children. The first year out of high school (around the age of 18 or 19) is very helpful in maturing many people.

Many teenagers have not developed enough socially, psychologically, and emotionally to handle all the responsibilities and burdens of marriage, including child rearing, when they are 18 years old or younger. Ideally, one should try to get married between the age of 24 and 30.
Age Differences
Now, let us tackle the second question concerning the difference in age between a husband and a wife in marriage.
Scripture does not state a rule or "best practices" on this issue, although it highly suggests that Boaz was quite a bit older than Ruth, who had been married before, but had been widowed (Ruth 3:10). A Jewish tradition in the Midrash says Boaz was 80 and Ruth 40 at the time they became husband and wife.
One factor that matters is whether the couple who has chosen marriage wishes to have children. A man can father a child even when he is old but many women may have trouble bearing children after 40 (although modern medical science can ease this burden compared to the past).
Sometimes the impact of an age difference on those who wish to be married depends on whether a woman wants to have a "father figure" for a husband or wants an equal relationship.
There are, of course, cases of older women marrying notably younger men but that, even today, is a bit rarer. Inevitably, an older man will exert more authority over a notably younger wife, on average, because he is more experienced in life.
Any age difference for those seeking marriage becomes less important when both the man and woman are older. Ten years can be a significant issue if, for example, a man is 28 and the wife is 18 but a much smaller one if the husband is 50 and the wife is 40.
Conclusion
Although the Bible seems silent concerning the best or most acceptable age gap between a man and woman who choose marriage, the question is whether it is wise to have a large one. Couples with a large age gap in their marriage can easily possess different expectations and assumptions in life that can lead to conflict or boredom if they do not have enough in common mentally and socially.