It depends on the nature of this class.
Start with the simplest solution which is to directly share the class between the two projects.
If you later reach the conclusion that this class is modular and can be used in many other projects then it makes sense to convert it to a b4xlib. In most cases the direct sharing is the better approach.