Yes. You must actually contribute the funds by April 15, 2019. You don't have to physically do it before declaring the contribution on your tax form.