RB5009UG+S+IN & CRS326-24G-2S+RM, need assistance with VLAN's

If you haven’t already, I suggest you to go through this tutorial, it shows quite nicely how VLANs should be done on RouterOS. Both your devices should be configured in the same manner.