Welcome to iMore! Text replacement and keyboard shortcuts should sync between devices that are logged in under the same Apple IDs. That being said, it can be finicky. Some of mine disappeared from my MacBook Pro the other day for no apparent reason. Logging out and then back in to iCloud in System Preferences > iCloud sometimes forces a re-sync.