Technically, you can use it in a 1:1 ratio. While maple syrup is great, you won’t get that distinctive flavor molasses is known for. However, you will get a similarity in sweetness and moisture that can be an apt replacement should you be unable to find molasses.