how many years apart is it leagle to marry like can u be 27 but marry sum1 that is 32? or 19 but marry sum1 that is 24? like how many years apart ...can u be 5 years apart and still marry the person? is that leagle?

So long as both partners are legally of age to marry, then the age difference doesn't make any difference.

The legal marrying age will vary from country to country; so you will need to check that. However, the most important aspect is - do the two people who intend to marry not only care about one another but do they also respect one another. Age difference may make a large difference in that.